package com.whw.springboot.walk.service;

import com.whw.springboot.walk.entity.Location;
import com.whw.springboot.walk.entity.Message;

import java.util.List;

public interface LocationService {

    Message<?> addLocation(Location location);

    Message<?> delLocation(String locationId);

    Message<?> update(Location location);

    Message<Location> findLocationByName(String locationName);

    Message<List<Location>> findAllLocation();

}
